package com.wuhainan.beelzebub.controller.extras;

import com.wuhainan.beelzebub.service.extras.PoisService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <br>Created by 吴海南 on 2017-12-18.
 * <br>星期一 at 上午 10:11.
 */
@RestController
@RequestMapping("api")
public class PoisController {

    @Resource
    private PoisService poisService;

//    @RequestMapping("pois")
//    public TableData pois(Pageable pageable,Pois pois) {
//        Page<Pois> page=poisService.findAll(pageable,pois);
//        return new TableData(page.getTotalElements(),page.getContent());
//    }

}
